package com.taotao.shop.member;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@MapperScan("com.taotao.shop.member.mapper")
@ComponentScan({"com.taotao.shop","com.taotao.shop.common"})
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.taotao.shop.member.feign")
public class TaotaoshopMemberApplication {

    public static void main(String[] args) {
        SpringApplication.run(TaotaoshopMemberApplication.class, args);
    }

}
